package com.jingtai.core.entity.member;


import com.baomidou.mybatisplus.annotation.TableName;
import com.jingtai.core.entity.BaseEntity;
import com.jingtai.validate.swagger.CApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

import io.swagger.annotations.*;

import java.math.BigDecimal;

import java.util.Date;

/**
 * 用户购物车表
 * 
 * @author sunlaiqian
 * @date 2020-12-02 15:08:11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("shop_member_car")
@ApiModel(value = "用户购物车表", description = "用户购物车表")
public class MemberCar  extends BaseEntity implements Serializable {




	/**
	 * 用户id
	 */
	@CApiModelProperty(value = "用户id",required = true,cNotEmpty = true)
	private Long memberId;

	/**
	 * 商户ID
	 */
	@CApiModelProperty(value = "商户ID",required = true,cNotEmpty = true)
	private Long merchantsId;

	/**
	 * 商品ID
	 */
	@CApiModelProperty(value = "商品ID",required = true,cNotEmpty = true)
	private Long goodsId;

	/**
	 * 规格属性ID
	 */
	@CApiModelProperty(value = "规格属性ID",required = true,cNotEmpty = true)
	private Long warehouseId;

	/**
	 * 规格属性json
	 */
	@CApiModelProperty(value = "规格属性json",required = true,cNotEmpty = true)
	private String goodsAttributeSpec;

	/**
	 * 单价
	 */
	@CApiModelProperty(value = "单价",required = true,cNotEmpty = true)
	private BigDecimal goodsPrice;

	/**
	 * 数量
	 */
	@CApiModelProperty(value = "数量",required = true,cNotEmpty = true)
	private Integer goodsNumber;

}
